//
//  WYXNYPizzaStore.m
//  FactoryMethodPattern
//
//  Created by 颖 on 2016/12/27.
//  Copyright © 2016年 ying. All rights reserved.
//

#import "WYXNYPizzaStore.h"
#import "WYXNYStyleCheesePizza.h"

@implementation WYXNYPizzaStore

- (WYXPizza *)creatPizza:(PizzaType)type{
    WYXPizza *pizza;
    if (type == NYStypeCheesePizza) {
        pizza = [[WYXNYStyleCheesePizza alloc] init];
    }
    return pizza;
}

@end
